package com.dhx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ServletComponentScan  //拦截开启
@EnableCaching  //开启spring Cache 注解缓存功能
public class SpringbootReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringbootReggieApplication.class, args);
    }

}
